package rmi;

import java.io.Serializable;

public class OrderItem implements Serializable {

    private String customerName;
    private int orderId;
    private int productId;
    private int amount;

    public OrderItem(String someName, int someOrderId, int someProductId, int someAmount) {
        customerName = someName;
        orderId = someOrderId;
        productId = someProductId;
        amount = someAmount;
    }

    public String getCustomerName() {
        return customerName;
    }

    public int getOrderId() {
        return orderId;
    }

    public int getProductId() {
        return productId;
    }

    public int getAmount() {
        return amount;
    }
}
